From 718f9a6fd8b43b3cdc58db8b67d79f013b46b058 Mon Sep 17 00:00:00 2001 From: "iap10@freefall.cl.cam.ac.uk" Date: Fri, 15 Apr 2005 20:15:57 +0000 Subject: [PATCH] bitkeeper revision 1.1159.258.96 (426020fdvI1TOBH3k_tSkViH1At7WA) Below is the patch that returns an 'int' from the notify_via_evtchn() call. Signed-off-by: Stefan Berger Signed-off-by: ian@xensource.com --- linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h index d6f0b0b545..2cd2389b14 100644 --- a/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h +++ b/linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h @@ -81,12 +81,12 @@ static inline void clear_evtchn(int port) synch_clear_bit(port, &s->evtchn_pending[0]); } -static inline void notify_via_evtchn(int port) +static inline int notify_via_evtchn(int port) { evtchn_op_t op; op.cmd = EVTCHNOP_send; op.u.send.local_port = port; - (void)HYPERVISOR_event_channel_op(&op); + return HYPERVISOR_event_channel_op(&op); } /* -- 2.30.2